package cn.kimming.rpc.demo.ui.dto;

import cn.kimming.rpc.common.constant.ProxyWay;
import cn.kimming.rpc.common.constant.SerializationWay;

import java.io.Serializable;

/**
 * 调用测试服务接口body
 */
public class ServiceCallDTO implements Serializable {
    private ProxyWay proxy;
    private SerializationWay serialization;
    private int count;

    public ProxyWay getProxy() {
        return proxy;
    }

    public void setProxy(ProxyWay proxy) {
        this.proxy = proxy;
    }

    public SerializationWay getSerialization() {
        return serialization;
    }

    public void setSerialization(SerializationWay serialization) {
        this.serialization = serialization;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "ServiceCallDTO{" +
                "proxy=" + proxy +
                ", serialization=" + serialization +
                ", count=" + count +
                '}';
    }
}
